{
  "properties" : { },
  "id" : "7fca37fcf3b041f8995d25af56a965f0",
  "script" : null,
  "groupId" : "fabfae3f0f454f16bb45486706b3d945",
  "name" : "新增告警类型",
  "createTime" : 1727070914759,
  "updateTime" : 1724892276286,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "save",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"code\":2,\n    \"typeDescr\":\"测试哈哈哈\",\n    \"typeName\":\"测试\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
return db.insert("""
    insert into alarm_type(code,type_descr,type_name) 
    values (#{body.code}, #{body.typeDescr},#{body.typeName})
""", 'id')